<?php

/**
 * @package setting
 * @subpackage setting.server
 * @author nam nguyen
 * @version 1.0.0
 * @license www.k1.vn
 */
defined('AGILET') or die('Access denied.');

defined('AGILET_ROOT_PATH') or define('AGILET_ROOT_PATH', realpath(dirname(dirname(__FILE__))) );

defined('AGILET_SETTING_PATH') or define('AGILET_SETTING_PATH', AGILET_ROOT_PATH . '/setting');

defined('AGILET_LIBRARY_PATH') or define('AGILET_LIBRARY_PATH', AGILET_ROOT_PATH . '/library');

defined('AGILET_TEMPLATE_PATH') or define('AGILET_TEMPLATE_PATH', AGILET_ROOT_PATH . '/template');

defined('AGILET_APPLICATION_PATH') or define('AGILET_APPLICATION_PATH', AGILET_ROOT_PATH . '/application');

defined('AGILET_TEMPORARY_PATH') or define('AGILET_TEMPORARY_PATH', AGILET_ROOT_PATH . '/temporary');

defined('APPLICATION_ENV') or define('APPLICATION_ENV', 'development');



/**
 * define start time for security
 */
define('AGILET_START_TIME', microtime(1));

/**
 * define start memory for profiling
 */
define('AGILET_START_MEMORY', memory_get_usage());

/**
 * set defaut time zone for date() method
 */
date_default_timezone_set('UTC');